package com.xln.furns.entity;


import java.util.List;

//分页数据模型
public class Page<T> {

    public static final Integer PAGE_SIZE=4;
    private Integer pageNo;//第几页
    private Integer pageSize = PAGE_SIZE;//每页多少条记录
    private Integer pageTotalConut;//总页数
    private Integer totalRow;//数据库相应表总记录数
    private List<T> items;
    private String url;

    public Integer getPageNo() {
        return pageNo;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo = pageNo;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getPageTotalConut() {
        return pageTotalConut;
    }

    public void setPageTotalConut(Integer pageTotalConut) {
        this.pageTotalConut = pageTotalConut;
    }

    public Integer getTotalRow() {
        return totalRow;
    }

    public void setTotalRow(Integer totalRow) {
        this.totalRow = totalRow;
    }

    public List<T> getItems() {
        return items;
    }

    public void setItems(List<T> items) {
        this.items = items;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
